/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  org.springframework.beans.factory.annotation.Autowired
 *  org.springframework.scheduling.annotation.Scheduled
 *  org.springframework.stereotype.Component
 */
package com.gys.common.task;

import com.gys.controller.OfflineController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class CommonTask {
    @Autowired
    private OfflineController offlineController;

    @Scheduled(cron="0 0/5 * * * ? ")
    public void checkOffline() {
        this.offlineController.isConnect();
    }
}

